package Presentacion;

import java.awt.Color;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;

import javax.swing.JTextField;
import javax.swing.JButton;


import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JTextPane;

public class IU_Cliente extends JFrame {

        private JPanel contentPane;

        public IU_Cliente() {
                setTitle("Practica 3 - IU_Cliente - Biblioteca");
                setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                setBounds(100, 100, 419, 329);
                contentPane = new JPanel();
                contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
                setContentPane(contentPane);
                contentPane.setLayout(null);
                
                JLabel pres = new JLabel("Seleccione la acción que desea realizar");
                pres.setBounds(6, 2, 386, 43);
                contentPane.add(pres);
                
                JButton buttonReservarLibro = new JButton("Reservar Libro");
                buttonReservarLibro.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent arg0) {
                            JFrameReservaLibro frame = new JFrameReservaLibro();
                            frame.setVisible(true);
                        }
                });
                buttonReservarLibro.setBounds(125, 122, 140, 29);
                contentPane.add(buttonReservarLibro);
        }
}